<template>
  <div class="forbidden">
    <div style="text-align: center; margin-top: 100px; font-size: 20px">
      403 您无权访问该页面，请联系管理员
    </div>
    <div class="btn">
      <el-button size="small" type="primary" plain @click="toHome"
        >返回首页</el-button
      >
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    toHome () {
      this.$router.push("/");
    }
  }
};
</script>

<style scoped>
.forbidden {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.btn {
  display: inline-flex;
  margin-top: 50px;
  justify-content: center;
}
</style>

